package org.yefei.homeworkday17.three;

public class InterCpu implements Cpu {
	private String brand;
	private String zhuPin;

	public InterCpu(String brand, String zhuPin) {
		this.brand = brand;
		this.zhuPin = zhuPin;
	}

	public String getBrand() {
		return brand;
	}

	public String getZhuPin() {
		return zhuPin;
	}

	public void setZhuPin(String zhuPin) {
		this.zhuPin = zhuPin;
	}

	@Override
	public String showCpu() {
		return "CPU的品牌是：" + brand + "，主频是：" + zhuPin;
	}

}
